<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <link rel="stylesheet" href="__CBTCSS__/twitter-bootstrap/4.4.1/css/bootstrap.min.css">
  <title>修改评论内容</title>
</head>

<body>



  <div class="container">
    <div class="row">
      <h1>id:{$result.id}</h1> &nbsp;&nbsp;&nbsp;&nbsp;
      <h1>far_id:{$result.far_id}</h1> &nbsp;&nbsp;&nbsp;&nbsp;
      <h1>user_id:{$result.unick}</h1> &nbsp;&nbsp;&nbsp;&nbsp;

      <form action="{:url('comment/update')}" class="w-100" method="post" enctype="multipart/form-data">
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text" id="basic-addon1">时间</span>
          </div>
          <input type="text" class="sr-only" name="id" value="{$result.id}">
          <input type="text" class="form-control" name="time" value="{$result.time}">
        </div>
        <div class="input-group">
          <div class="input-group-prepend">
            <span class="input-group-text">评论</span>
          </div>
          <textarea class="form-control" name="essay" rows="5">{$result.essay}</textarea>
        </div>
        <button type="submit" class="btn btn-secondary btn-lg btn-block mt-4">提交</button>
      </form>

    </div>
  </div>


  <script src="__CBTCSS__/jquery/3.4.1/jquery.min.js"></script>
  <script src="__CBTCSS__/popper.js/1.16.1/umd/popper.min.js"></script>
  <script src="__CBTCSS__/twitter-bootstrap/4.4.1/js/bootstrap.min.js"></script>
</body>

</html>